﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace YAFTS.Contracts
{
	public interface IIOObserver
	{
		event EventHandler<FileContentChangedArgs> FileContentChange;
		event EventHandler<RenamedEventArgs> FileRenamed;

		bool CanObverve(string path);
		void AddFolderToWatch(string path, string fileMask, bool reqursive);
		void AddFileToWatch(string path);
		void RemoveFromWatch(string path);

	}
}
